package com.example.boot.service.ifelse;

import com.example.boot.data.enums.WeekEnum;
import org.springframework.stereotype.Component;

@Component
public class WednesdayLunch implements EatLunch {
    @Override
    public String getWeek() {
        return WeekEnum.WEDNESDAY.getCode();
    }

    @Override
    public String ChoosingFood() {
        System.out.println("吃德克士");
        return "德克士";
    }
}
